* they want more documentation. Right. 
cd /home/kai/Work/bioethics/values-psychology
use values-secularism.dta , replace 

lab var east Region
lab var agecat Age

* two tables of categorical variables
fre male east agecat educ  using categorical-vars.tex , noname replace order

fre denomination pray church  using categorical-vars-2.tex , noname replace  order

* stats for quasi-interval scaled variables
egen secularism =rowmean(sec2-sec5)

lab var secularism "Political Secularism"
lab var tradition Tradition
lab var selfdirection "Self-Direction"

estpost sum secularism religint selfdirection tradition

esttab using cont-descriptive.tex, cells("mean(fmt(2)) sd min max") nomtitle nonumber label   replace tex

estpost correlate secularism religint selfdirection tradition, matrix 

esttab using cont-correlations.tex  , cells(b(fmt(2))) unstack label noobs nonum nomti not compress replace tex 

